package com.weimai.message.gateway.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.vertx.codegen.annotations.DataObject;
import io.vertx.core.json.JsonObject;
import lombok.Data;

import java.util.Date;

/**
 *
 * @Author geer
 * @Since 2018/11/11
 * @Version 1.0
 **/
@Data
@DataObject(generateConverter = true)
public class GwUserAccess {
    
    @TableId("id")
    private Long id;
    private String accountNo;
    private String accessKey;
    private String accessSecret;
    private Integer isDel;
    private Date createTime;
    private Date updateTime;
    
    public GwUserAccess(){
    
    }
    
    public GwUserAccess(JsonObject jsonObject) {
        GwUserAccessConverter.fromJson(jsonObject, this);
    }
}
